Mouse Wheel
fun MouseWheel(location: Point, locationOnScreen: Point = Point.empty(), keyModifiers: KeyModifiers = KeyModifiers(), scrollType: ScrollType = ScrollType.SCROLL_TYPE_UNSPECIFIED, deltaX: Float = 0.0f, deltaY: Float = 0.0f): MouseWheel
fun MouseWheel(location: Point, locationOnScreen: Point = Point.empty(), keyModifiers: KeyModifiers = KeyModifiers(), scrollType: ScrollType = ScrollType.SCROLL_TYPE_UNSPECIFIED, deltaX: Float = 0.0f, deltaY: Float = 0.0f): MouseWheel
Creates a new instance of MouseWheel with the given parameters.
Since
8.0.0
Parameters
location
The mouse position relative to the bounds of the browser instance.
location On Screen
The mouse position relative to the bounds of the screen.
key Modifiers
The keyboard modifiers applied.
scroll Type
The scroll type of the event.
delta X
The number of units to scroll horizontally.
delta Y
The number of units to scroll vertically.